//#define __DEBUG__
// by Xeno
#define THIS_FILE "fn_outofbounds.sqf"
#include "x_setup.sqf"

private ["_vec", "_p_x", "_vec", "_p_y"];
_vec = _this;
_p_x = (getPosASL _vec) select 0;
_p_y = (getPosASL _vec) select 1;
((_p_x < 0 || {_p_x > GVAR(island_x_max)}) || {(_p_y < 0 || {_p_y > GVAR(island_y_max)})})